It's hard to implement properly, was broken, and unused. If somebody
really wants it, they can call setSensitive after constructing the item.
https://bugzilla.gnome.org/show_bug.cgi?id=702539
params = Params.parse (params, { reactive: true,
activate: true,
hover: true,
- sensitive: true,
style_class: null,
can_focus: true
});
this._spacing = 0;
this.active = false;
this._activatable = params.reactive && params.activate;
- this.sensitive = this._activatable && params.sensitive;
-
- this.setSensitive(this.sensitive);
if (!this._activatable)
this.actor.add_style_class_name('popup-inactive-menu-item');